import Vue from 'vue';
import Vuex from 'vuex';
import user from './user.module';
import advertisment from './advertisments.module';
import location from './location.module';
import citys from './citys.module';
import route from './route.modules';
import order from './order.module';
import message from './message.types';
import mqtt from './mqtt.module';
import taxi from './taxi.modules';
import incity from './incity.module';
import wallt from './wallt.module';
import phoneorder from './phoneorder.module';
import hitchhike from './hitchhike.module';
import hitchorder from './hitchorder.module';

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    user,
    advertisment,
    location,
    citys,
    route,
    order,
    message,
    mqtt,
    taxi,
    incity,
    wallt,
    phoneorder,
    hitchhike,
    hitchorder
  }
});
